package com.qst.system.domain.vo;

import com.qst.common.annotation.Excel;
import com.qst.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 平台信用管理视图对象 CreditVo
 * 
 * @author qst
 * @date 2025-08-25
 */
public class CreditVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业ID */
    private Long comId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String comName;

    /** 积分值 */
    @Excel(name = "积分值")
    private Long scoreNum;

    /** 等级 */
    @Excel(name = "等级")
    private String levelDetail;

    /** 贷款总次数 */
    @Excel(name = "贷款总次数")
    private Long loanCount;

    /** 还款次数 */
    @Excel(name = "还款次数")
    private Long refundCount;

    /** 逾期次数 */
    @Excel(name = "逾期次数")
    private Long overdueCount;

    /** 信用状态 */
    @Excel(name = "信用状态")
    private String creditState;

    public void setComId(Long comId)
    {
        this.comId = comId;
    }

    public Long getComId()
    {
        return comId;
    }

    public void setComName(String comName)
    {
        this.comName = comName;
    }

    public String getComName()
    {
        return comName;
    }

    public void setScoreNum(Long scoreNum)
    {
        this.scoreNum = scoreNum;
    }

    public Long getScoreNum()
    {
        return scoreNum;
    }

    public void setLevelDetail(String levelDetail)
    {
        this.levelDetail = levelDetail;
    }

    public String getLevelDetail()
    {
        return levelDetail;
    }

    public void setLoanCount(Long loanCount)
    {
        this.loanCount = loanCount;
    }

    public Long getLoanCount()
    {
        return loanCount;
    }

    public void setRefundCount(Long refundCount)
    {
        this.refundCount = refundCount;
    }

    public Long getRefundCount()
    {
        return refundCount;
    }

    public void setOverdueCount(Long overdueCount)
    {
        this.overdueCount = overdueCount;
    }

    public Long getOverdueCount()
    {
        return overdueCount;
    }

    public void setCreditState(String creditState)
    {
        this.creditState = creditState;
    }

    public String getCreditState()
    {
        return creditState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("comId", getComId())
            .append("comName", getComName())
            .append("scoreNum", getScoreNum())
            .append("levelDetail", getLevelDetail())
            .append("loanCount", getLoanCount())
            .append("refundCount", getRefundCount())
            .append("overdueCount", getOverdueCount())
            .append("creditState", getCreditState())
            .toString();
    }
}